package org.szpshang.system.user.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.szpshang.bean.JsonBean;


@Controller
@RequestMapping("/login")
public class LoginController {
    
    @RequestMapping(value = "/checkUser",method=RequestMethod.POST)
    public  @ResponseBody JsonBean checkUser(HttpServletRequest request){
    	
        return new JsonBean(true);
    }

    
    @RequestMapping(value = "/logout",method=RequestMethod.POST)
    public  @ResponseBody JsonBean logout(HttpServletRequest request){
        return new JsonBean(true);
    }
}
